package com.iisageek.client.widgets.xml;
public class TextNode extends Node {
    private String text;
    
    public boolean isEmpty() {
	return text.equals("");
    }
    
    public TextNode(String text) {
	this.text=text;
    }

    public boolean isTextNode() {
	return true;
    }

    public String getText() {
	return text;
    }

    public String getName() {
	return "#text#";
    }

    public String toString() {
	return text;
    }

    public String getAttribute(String text) {
	return null;
    }
}
